<html>

<body></body>
<script>
    let ua = window.navigator.userAgent;
    let url = 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=2632613b-ffc7-4086-9bd8-939d2351cee9'
    document.body.innerHTML = ua;
    fetch(url, {
        method: "POST",
        mode: "no-cors",
        headers: {
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            "msgtype": "text",
            "text": {
                "content": ua,
            }
        })
    }).then(res => {
        console.log(123)
    })
</script>

</html>